package com.bstek.weixin.entity;

import java.util.Date;

/**
 * @Description TEDO 部门
 * @Author snail
 * @Date 2019/1/7
 * @Version 1.0
 */
public class Department {

    private long id;
    //部门名称
    private String name;
    //上级ID
    private long parentid;
    //顺序号
    private int order;
    //创建时间
    private Date createTime;
    //创建用户
    private String createUser;

    public Department(long id, String name, long parentid, int order, Date createTime, String createUser) {
        this.id = id;
        this.name = name;
        this.parentid = parentid;
        this.order = order;
        this.createTime = createTime;
        this.createUser = createUser;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public long getParentid() {
        return parentid;
    }

    public void setParentid(long parentid) {
        this.parentid = parentid;
    }

    public int getOrder() {
        return order;
    }

    public void setOrder(int order) {
        this.order = order;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }
}
